﻿/**
 * @author sminutoli
 * Clase que representa una botonera que contiene secciones
 * 
 */
 
import com.dinmax.axiomaweb.buttonbar.section.Section;

class com.dinmax.axiomaweb.buttonbar.ButtonBar {
	
	private var name:String;
	private var sections:Array; // de Section
	private var activeSection:Section;
	
	public function ButtonBar() {
		sections = new Array();
	}
	
	public function getSections():Array {
		return sections;
	};
	
	public function addSection(section:Section):Void {
		sections.push(section);
	};
	
	public function getName():String {
		return name;
	};

	public function setName(name:String):Void {
		this.name = name;
	};

	public function getActiveSection():Section {
		return activeSection;
	};

	public function setActiveSection(activeSection:Section):Void {
		this.activeSection = activeSection;
	};

};